import request from '@/utils/request'

export function listData(query) {
  return request({
    url: `/room_connection`,
    method: 'get',
    params: query
  })
}

export function delSound(query) {
  return request({
    url: `/room_connection/del`,
    method: 'get',
    params: query
  })
}

export function addSound(data) {
  return request({
    url: '/room_connection/add',
    method: 'post',
    data
  })
}

export function editSound(data) {
  return request({
    url: '/room_connection/update',
    method: 'post',
    data
  })
}





